/**	
 * Author : Mht
 * Desc : For 2016 RDM 
 */
package configuration;

import java.util.Locale;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import lombok.extern.log4j.Log4j;

/**
 * @author Mht
 * @date May 10, 2016
 */
@Configuration
@EnableTransactionManagement
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableAsync
@EnableScheduling
@Import({ DynamicDatabaseConfiguration.class, RedisConfiguration.class, QuartzConfiguration.class,
		ExceptionConfiguraion.class })
@ComponentScan({ "dao", "service", "schedule", "common" })
@Log4j
public class AppConfiguration {

	public AppConfiguration() {
		// TODO Auto-generated constructor stub
		log.info("[Initialize Application]");
		Locale.setDefault(Locale.US);
	}
}
